﻿<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="Cache-Control" content="no-cache, must-revalidate">
<meta http-equiv="expires" content="Wed, 26 Feb 1997 08:21:57 GMT">
<title>金兰推广平台-新一代搜索引擎和网店推广平台</title>
<style type="text/css"> 
<!--
body{margin:10px 0 0 0; font-size:12px; font-family:Arial}
img{border:0}
 
#Wrap{margin:0 auto; width:950px}
#Head{height:56px}
#Logo{float:left}
#HeadLinks{float:right; margin-top:32px}
#HeadLinks a{color:#666; text-decoration:none; margin-left:5px}
#HeadLinks a:hover{text-decoration:underline}
#BannerIndex{position:absolute;height:20px;top:220px;left:20px}
#BannerIndex a{display:block;text-decoration:none;width:16px;height:16px;float:left;line-height:16px;text-align:center;font-weight:bold;
background-color:#fff;color:#666;filter:alpha(opacity=60);-moz-opacity:0.6;opacity:0.6;margin:1px 3px 1px 1px;zoom:1;display:inline}
#BannerIndex a.current{filter:alpha(opacity=100);-moz-opacity:1;opacity:1;}
#BannerIndex a.current:hover{border:1px solid #000;filter:alpha(opacity=99);-moz-opacity:99;opacity:0.99;}
#BannerIndex a:hover{zoom:1;border:1px solid #000;filter:alpha(opacity=40);-moz-opacity:0.4;opacity:0.4;margin:0px 2px 0px 0px}
#Banner{position:relative; width:950px; height:250px; overflow:hidden}
#Banner a div{position:absolute; top:0; left:0;width:950px; height:250px; cursor:pointer}
#Login{position:absolute; bottom:0; left:657px; width:280px; height:234px; background:url(images/login-bg.png);
/*for ie6*/_left:663px; _width:266px; _height:228px; _background:url(images/login-bg.gif); _filter:alpha(opacity=70)}
#LoginForm{width:235px; height:215px; margin:0; position:absolute; top:28px; left:690px}
table{width:235px; border:0}
table td.label{color:#000; font-weight:bold; height:30px; font-size:14px}
table td.error{color:#f00; padding:2px 0 2px 5px}
table td a{color:#5277c7; text-decoration:none}
table td a:hover{text-decoration:underline}
.login-input{background-image:url(images/login-input.gif); width:154px; height:27px; padding:3px 0 0 5px; overflow:hidden}
.login-input-hover{background-position:0 -30px}
.code-input{float:left; background-image:url(images/code-input.gif); width:73px; height:27px; padding:3px 0 0 5px; overflow:hidden}
.code-input-hover{background-position:0 -30px}
input{color:#666; font-size:12px; font-family:Arial; font-weight:bold; border:0; padding:4px 0 4px 0; height:16px; background:transparent}
#UserName,#Password{width:150px}
#Code{width:69px}
#UserName:focus,#Password:focus,#Code:focus{outline:none}
#Loading{float:left; color:#666; margin:7px 0 0 3px}
#CodeImg{float:left; width:80px; height:30px; margin-left:3px}
#Submit{float:left; width:103px; height:46px; border:0; text-decoration:none; background-image:url(images/submit.png);
/*for ie6*/_background-image:url(images/submit.gif)}
#Submit:hover{background-position:0px -46px;/*for ie6*/_background-position:0px -46px}
#Forget{float:left; margin:14px 0 0 3px}
 
#BannerBottom{height:76px; background:url(images/top-title.gif) left center no-repeat; position:relative}
#Tip1{position:absolute; top:0; left:547px; width:111px; height:37px; background:url(images/tip1.gif)}
#LoginBottom{position:absolute; top:0; left:658px; width:241px; height:30px; padding:7px 0 0 35px; background:url(images/login-bottom.gif); color:#999}
#LoginBottom a{color:#1b6bbc; text-decoration:none}
#LoginBottom a:hover{text-decoration:underline}
 

#Topics{height:170px; width:960px; margin-bottom:30px; background:url(images/tip2.gif) top right no-repeat}
#LeftBar,#RightBar{height:135px; width:20px; padding:25px 0 0 5px}
#LeftBar{float:left}
#RightBar{float:right}
#LeftRoll,#RightRoll{display:block; width:16px; height:29px; text-decoration:none}
#LeftRoll{background-image:url(images/l-roll.gif)}
#RightRoll{background-image:url(images/r-roll.gif)}
#LeftRoll:hover,#RightRoll:hover{background-position:0 -29px}
#LeftDisable{width:16px; height:29px; background:url(images/l-roll.gif) 0 -58px}
#RightDisable{width:16px; height:29px; background:url(images/r-roll.gif) 0 -58px}
 
#MarqueeWrap{float:left; height:180px; width:900px; overflow:hidden; position:relative}
#Marquee{height:180px; position:absolute; left:0}
#Marquee a{float:left; width:160px; height:170px; padding:10px 10px 0; text-decoration:none}
#Marquee a:hover{background:url(images/top-bg.gif)}
#Marquee a img{width:160px; height:90px; margin-bottom:12px}
.title,.description{width:160px; cursor:pointer;}
.title{color:#333; margin-bottom:7px}
.description{color:#999; height:54px; word-wrap:break-word; word-break:break-all}
 
#Foot{height:71px; padding-top:23px; text-align:center; color:#999}
#Foot a{color:#999; margin-left:5px}
 
.tips{border:1px solid #eee495;background:#fff9c8;margin-bottom:10px;padding:8px 12px;font-size:14px;line-height:18px}
p{padding:5px 0; margin:0}
#E{text-overflow:ellipsis; overflow:hidden; white-space:nowrap; width:150px; cursor:default}
.bottom {width: 100%;text-align: center;color: #808080;line-height: 20px;margin-top: 10px;border-top-width: 1px;border-top-style: solid;border-top-color: #CCCCCC;display: block;margin-bottom: 20px;}
.bottom a { color: #808080; text-decoration: none; }
.bottom a:hover { color: #808080; text-decoration: underline; }
#Products {
	PADDING-BOTTOM: 0px; PADDING-LEFT: 80px; WIDTH: 880px; PADDING-RIGHT: 0px; BACKGROUND: url(images/products-bg.gif) no-repeat; HEIGHT: 175px; PADDING-TOP: 47px
}
#Products A {
	BACKGROUND-IMAGE: url(images/products.gif); WIDTH: 117px; FLOAT: left; HEIGHT: 139px; TEXT-DECORATION: none
}

A#Product1 {
	 BACKGROUND-POSITION: -4px -11px; MARGIN-RIGHT: 1px

}

-->
</style>
<script type="text/javascript" src="../../js/jquery-1.4.1.min.js"></script>
<script type="text/javascript">
    $(document).ready(function () {
//        $(document).keypress(function (e) {
//            if (e.which == 13) {
//                checkForm();
//            }
//        });
        $("#vailcode").focus(function () {
            $("#Loading").show();
            var dt = new Date();
            $("#ImageCheck").attr("src", "Validate.ashx?" + dt);
            $("#ImageCheck").attr("alt", "点击重新绘制验证码");
            $("#ImageCheck").show();
        });
        $("#ImageCheck").click(function () {
            var dt = new Date();
            $(this).attr("src", "Validate.ashx?" + dt);
            $(this).attr("alt", "点击重新绘制验证码");
            $("#ImageCheck").show();
        });
        $("#vailcode").keypress(function (e) {
            if (e.which == 13) {
                checkForm();
            }
        });
        $("#Submit").click(function () {
            checkForm();
        });
    });
    //    var queryStrings = function () {//get url querystring
    //        var params = document.location.search, reg = /(?:^\?|&)(.*?)=(.*?)(?=&|$)/g, temp, args = {};
    //        while ((temp = reg.exec(params)) != null) args[temp[1]] = decodeURIComponent(temp[2]);
    //        return args;
    //    };
    //只取一个：
    var queryString = function (key) {
        return (document.location.search.match(new RegExp("(?:^\\?|&)" + key + "=(.*?)(?=&|$)")) || ['', null])[1];
    }
    var errcode = queryString("retcode");
    if (errcode != null) {
        if (errcode == -1) { alert("用户名不存在!"); } else if (errcode == -2) { alert("用户密码错误！"); } else if (errcode == -3) { alert("该用户冻结！"); } else if (errcode == -4) { alert("服务器繁忙！请稍候再试！"); } else if (errcode == -5) { alert("验证码不正确！"); } else if (errcode == -6) { alert("无此用户！请先注册!"); } else if (errcode == -10) { alert("系统服务错误!"); }
        window.location.replace("index.html");
    }
    function initdownload() {
        $("#downfile").attr("href", "../../Download.aspx" + document.location.search);
    }
    
    function showCode() {
        alert(imgcode);
        document.LoginForm.ImageCheck.src = "Validate.ashx?st=" + Math.random();
    }

    function checkForm() {
        if (document.LoginForm.userName.value == "") {
            alert("用户名不能为空!");
            return false;
        }
        if (document.LoginForm.passwd.value == "") {
            alert("密码不能为空!");
            return false;
        }
        if (document.LoginForm.vailcode.value == "") {
            alert("验证码不能为空!");
            return false;
        }
        if (document.LoginForm.vailcode.value.length != 4) {
            alert("输入的验证码位数不正确! 必须有4位数字");
            return false;
        }
        document.LoginForm.submit();
        return false;
    }
    initdownload();
</script>
</head>
<body>
<div id="Wrap">
    <div id="Head">
        <a href="#"><img src="images/logo.gif" id="Logo"></a>
        <div id="HeadLinks">
            <a href="#" id="TopIndex">金兰推广首页</a>
            <a href="#" id="Favorite" rel="sidebar" title="金兰推广平台">加入收藏</a>
        </div>
    </div>
    <div id="Banner">
        <div id="BannerWrap"><a href="../../Download.aspx" id="downfile" target="_blank"><div style="background-image: url(images/1326274767.jpg); background-attachment: initial; background-origin: initial; background-clip: initial; background-color: initial; zoom: 1; opacity: 1.0500000000000003; background-position: initial initial; background-repeat: initial initial; "></div></a></div>
        <div id="Login"></div>
        <form id="LoginForm" name="LoginForm" method="post" action="RequestHandler.ashx?ut=custom&action=userlogin">
            <table cellspacing="0" cellpadding="0">
                <tbody><tr>
                    <td width="55" class="error">&nbsp;</td>
                    <td width="180" class="error"><div id="E" title=""></div></td>
                </tr>
                <tr>
                    <td class="label">用户名:</td>
                    <td><div class="login-input"><input type="text" name="userName" id="userName" value=""></div></td>
                </tr>
                <tr>
                    <td class="error">&nbsp;</td>
                    <td class="error"><span id="ErrorName"></span></td>
                </tr>
                <tr>
                    <td class="label">密&nbsp;&nbsp;&nbsp;&nbsp;码:</td>
                    <td><div class="login-input"><input type="password" name="passwd" id="passwd"></div></td>
                </tr>
                <tr>
                    <td class="error">&nbsp;</td>
                    <td class="error"><span id="ErrorPsw"></span></td>
                </tr>
                <tr>
                    <td class="label">验证码:</td>
                    <td>
                        <div class="code-input"><input type="text" name="vailcode" maxlength="4" id="vailcode"/></div>
                        <span id="Loading"></span>
                        <img name="ImageCheck" id="ImageCheck" src="" alt="" style="display:none"/>
                    </td>
                </tr>
                <tr>
                    <td class="error">&nbsp;</td>
                    <td class="error"><span id="ErrorCode"></span></td>
                </tr>
                <tr>
                    <td></td>
                    <td><a href="#" id="Submit">&nbsp;</a> </td>
                </tr>
            </tbody></table>
        </form>

    </div>
    
    <div id="BannerBottom">
        <div id="Tip1"></div>
        <div id="LoginBottom">想加入金兰推广？<a href="register.html" id="Register">下载推广客户端注册用户</a>
</div>
    </div>
    <div id="Topics">
        <div id="LeftBar"></div>
        <div id="MarqueeWrap"><div id="Marquee" style="width: 960px; left: 0px; "><a target="_blank" id="Topic1329104836" href="#"><img src="images/1329104836.jpg"><div class="title">第一大亮点</div><div class="description">三大搜索引擎融合，百度、谷歌、搜狗，助您一网打尽，全面覆盖，首页展示您的广告</div></a><a target="_blank" id="Topic1326274797" href="#"><img src="images/1326274797.jpg"><div class="title">第二大亮点</div>
        <div class="description">网店推广更容易，淘宝、拍拍从此不一样，中小卖家不再担心，梦寐以求的黄金展示位</div>
        </a><a target="_blank" id="Topic1310525028" href="#"><img src="images/1310525028.jpg"><div class="title">第三大亮点</div>
        <div class="description">告别高价、浪费，开启低价、高效，不再担心恶意点 击，智能精准，让推广资金无浪费</div>
        </a><a target="_blank" id="Topic1320327220" href="#"><img src="images/1320327220.jpg"><div class="title">第四大亮点</div>
        <div class="description">广告投放更自主灵活，自由设定，一个账户即可全网推广，随时根据情况修改</div>
        </a><a target="_blank" id="Topic1313479619" href="#"><img src="images/1313479619.jpg"><div class="title">第五大亮点</div>
        <div class="description">一站式管理，企业公司、网站、网店、产品推广集一身，拥有一个，今生无求</div>
        </a></div></div>
        <div id="RightBar"></div>
    </div>
<div id=Products >&nbsp;</div>
</div>
<div class="bottom">版权所有：深圳市金兰网络科技有限公司</div>
<script type="text/javascript">initdownload();</script>
</body></html>